package com.sina.interfaces.manage.dao.sys;


import com.sina.interfaces.core.BaseDao;
import com.sina.interfaces.domain.sys.Permission;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2017-11-15-14:02
 */
public interface PermissionManageDao extends BaseDao {

    Permission getPermissionByName(String name);

    int deletePermission(Integer id);

    List<Map<String, Object>> getPermissionList(Permission permission);

    Long getPermissionCount(Permission permission);

}
